/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wanhai.itm.wditm145.vo;

import com.wanhai.vo.itm.ITM4011VO;

/**
 *
 * @author m2434
 */
public class WDITM145_ITM4011VO extends ITM4011VO{
    private String subDescript = "";

    public String getSubDescript() {
       return  cutString(super.getDESCRPT(),20);
    }
    
    public String cutString(String target , int count){
        if(target.length() > count){
            return target.substring(0,count-1) + "...";
        }else{
            return "";
        }
    }
}
